package com.xiaocc.spring.demo.csapp;

import org.springframework.beans.factory.DisposableBean;

public class ScopeDemo implements DisposableBean {
	
	
	private ScopeDemo propertypeClass;
	
	
	
	public void showPropertypeBeanInfo(){
		System.out.println(propertypeClass);
	}
	
	
	public ScopeDemo getPropertypeClass() {
		return propertypeClass;
	}

	public void setPropertypeClass(ScopeDemo propertypeClass) {
		this.propertypeClass = propertypeClass;
	}

	public void initMethod(){
		System.out.println("this is init method");
	}
	
	public void pubDestoryMethod(){
		System.out.println("this is public destory method");
	}
	
	private void privateDestoryMethod(){
		System.out.println("this is private destory method");
	}

	@Override
	public void destroy() throws Exception {
		System.out.println("this is override public destory method");		
	}

}
